<?php 
/* --------------------------------
 *  Каркас Админки
 * 
 * 11 июня 2012
 * © Deemon 
 --------------------------------*/
    if( isset($_GET['p']) && $_GET['p'] == 'sites_from' ) {
        $view->css('adminka/960');
        $view->css('adminka/fluid');
        $view->css('adminka/template');
        $view->css('adminka/colour');
    }

    $view->css('admin');

	$admin_menu = $load->block('admin_menu',false,'admin');
	
	$conn->query( 'SELECT * FROM `store_product_volume` ');
	global $COST_OF_DELIVERY_1, $COST_OF_DELIVERY_2;
	while( $row = $conn->fetch() ) {
		$COST_OF_DELIVERY_1[$row->volume] = $row->first;
		$COST_OF_DELIVERY_2[$row->volume] = $row->second;
	}
	
	/* print_r($COST_OF_DELIVERY_1);
	echo '<br/>';
	echo '<br/>';
	print_r($COST_OF_DELIVERY_2); */
?>
<!DOCTYPE HTML>
<html lang="en-US">
	<head>
		<meta charset="UTF-8">
		<meta name="robots" content="noindex,nofollow">
		<?php $view->printHead(); ?>
	</head>
	<body class="page-<?php echo $view->templ;?>">
		<noindex>
			<?php echo $admin_menu;?>
			<h1><?php $view->printH1();?></h1>
			<?php echo $view->gText,
			 $view->printOnLoadJS(); ?>
		</noindex>
	</body>
</html>